<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>论坛注册</title>
    <script src="http://cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
    <link href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="{{ url_for('static', filename='front/css/front_signbase.css') }}" rel="stylesheet">
    <script src="http://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="{{ url_for('static', filename='front/js/front_signup.js') }}"></script>
    {# 提示框资源文件 #}
    <script src="{{ url_for('static', filename='common/sweetalert/sweetalert.min.js') }}"></script>
    <script src="{{ url_for('static', filename='common/sweetalert/clalert.js') }}"></script>
    <link rel="stylesheet" href="{{ url_for('static', filename='common/sweetalert/sweetalert.css') }}">
    {#  md5加密JS文件导入  #}
    <script src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.js"></script>
</head>
<body>
<div class="outer-box">
    <div class="logo-box">
        <a href="/">
            <img src="{{ url_for('static',filename='common/images/logo.gif') }}"/>
        </a>
    </div>
    <h2 class="page-title">熊熊论坛注册</h2>

    <div class="sign-box">
        <div class="form-group">
            <div class="input-group">
                <input type="text" name="telephone" class="form-control" placeholder="手机号码">
                <span class="input-group-btn">
                        <button class="btn btn-default" id="sms-captcha-btn">
                            发送验证码
                        </button>
                    </span>
            </div>
        </div>
        <div class="form-group">
            <input type="text" name="sms_captcha" class="form-control" placeholder="短信验证码">
        </div>
        <div class="form-group">
            <input type="text" name="username" class="form-control" placeholder="用户名">
        </div>
        <div class="form-group">
            <input type="password" name="password1" class="form-control" placeholder="密码">
        </div>
        <div class="form-group">
            <input type="password" name="password2" class="form-control" placeholder="确认密码">
        </div>
        <div class="form-group">
            <div class="input-group">
                <input type="text" name="graph_captcha" class="form-control" placeholder="图形验证码">

                <span class="input-group-addon captcha-addon">
                    <img id="captcha-img" class="captcha-img" src="{{ url_for('front.graph_captcha') }}" alt="">
                </span>
            </div>
        </div>
        <div class="form-group">
            <span style="display: none"id="return-to-span">{{ return_to }}</span>
            <button class="btn btn-warning btn-block" id="submit-btn">
                立即注册
            </button>
        </div>
    </div>

</div>
</body>
</html>